﻿/*
Digraph (library for building, traversal, comparison and saving of directed
graph).

Copyright (C) 2014 Dmitry Merzagitovich Arslanov

This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the Free
Software Foundation; either version 2.1 of the License, or (at your option) any
later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
*/

namespace Digraph
{
    /// <summary>
    /// Indicates which vertices are selected for traversal from current
    /// position in digraph.
    /// </summary>
    public enum Direction
    {
        /// <summary>
        /// Select end vertices of outcoming arcs for current vertex.
        /// </summary>
        Forward,

        /// <summary>
        /// Select begin vertices of incoming arcs for current vertex.
        /// </summary>
        Backward,

        /// <summary>
        /// Select begin vertices of incoming arcs and end vertices of
        /// outcoming arcs for current vertex.
        /// </summary>
        Both
    }
}
